import { createApp } from 'vue'
import setElementPlus from '@/plugins/element-plus'
import './config'
import App from './App.vue'
import { setupRouter } from './router'
import 'virtual:uno.css'
// 引入重置样式
import './style/reset.scss'
// 导入公共样式
import './style/index.scss'
import 'element-plus/dist/index.css'
import setupGlobDirectives from '@/directives'
import { registerGlobComp } from './components/registerGlobComp'
import { setupStore } from './stores'
const app = createApp(App)
function bootstrap() {
  // Configure store
  // 配置 store
  setupStore(app)
  registerGlobComp(app)
  setupGlobDirectives(app)
  setElementPlus(app)
  setupRouter(app)
  app.mount('#app')
}

bootstrap()
